home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / utilities / comsuite 95 / COMMSUIT / MSGCTR.VM_ / MSGCTR.VM
Encoding:
Text File  |  1996-02-28  |  8.7 KB  |  559 lines

  1. ;
  2. ; MsgCtr
  3. ;
  4.  
  5.  
  6. [Greeting]
  7. Prompt=V\STARTMSG.
  8. Menu15=GoodBye
  9. Default=RecGreet
  10. Retries=1
  11. Delay=0
  12. Button=SOFTABORT
  13.  
  14. [RecGreet]
  15. Prompt=$greeting
  16. Action=record
  17. menu15=EndGreet
  18. Default=EndGreet
  19. Retries=1
  20. Delay=0 
  21.  
  22. [EndGreet]
  23. Prompt=V\ENDREC.+$greeting
  24. Menu15=ResetSuper
  25. Default=EndOpt
  26. Retries=1
  27. Delay=0
  28. Button=SOFTABORT
  29.  
  30. ; play the user prompt
  31. [PlayGreeting]
  32. Action=Play
  33. Prompt=$greeting
  34. Menu14=Password
  35. Menu15=record
  36. Superuser=Password
  37. ; this will play start recording now....
  38. ;Default=PlayGreeting2
  39. ; this will skip it
  40. Default=record
  41. Delay=0
  42. Button=SOFTABORT
  43.  
  44. [PlayGreeting2]
  45. Action=Play
  46. Prompt=V\STARTMSG.
  47. Menu14=Password
  48. Superuser=Password
  49. Default=Record
  50. Delay=0
  51. Button=SOFTABORT
  52.  
  53. ;
  54. ; Begin common
  55. ;
  56.  
  57. ; assign the mailbox number
  58. [Startup]
  59. Action=boxid
  60. Prompt=$1
  61. Delay=0
  62. Button=SOFTABORT
  63. Default=checksuper
  64.  
  65. ; Determine if leave msg or retrieve msg mode
  66. [checksuper]
  67. Prompt=
  68. Action=noaction
  69. Menu14=Password
  70. Superuser=Password
  71. Delay=0
  72. Default=PlayGreeting
  73.  
  74. ; Record the message
  75. [Record]
  76. Prompt=$message
  77. Action=record
  78. Error=DiskFull
  79. Default=EndRec
  80. Button=SOFTABORT
  81. Delay=1
  82.  
  83. ; Play - 'recording stopped'
  84. [EndRec]
  85. Action=Play
  86. Prompt=V\ENDREC.
  87. Menu01=Playback
  88. Menu02=Record
  89. Menu14=Return
  90. Menu15=GoodBye
  91. Default=UserMenu
  92. Retries=3
  93. Button=SOFTABORT
  94. Delay=0
  95.  
  96. ; Play - 'mailbox full'
  97. [DiskFull]
  98. Action=Play
  99. Prompt=V\ENDREC.+V\MBFULL.
  100. Menu01=Playback
  101. Menu14=Return
  102. Menu15=GoodBye
  103. Default=UserMenu
  104. Retries=3
  105. Delay=0
  106.  
  107. ; Allow user to hear instructions for playing back the message etc.
  108. [UserMenu]
  109. Action=Play
  110. Prompt=V\CALLMENU.
  111. Menu01=Playback
  112. Menu02=Record
  113. Menu14=Return
  114. Menu15=GoodBye
  115. Default=GoodBye
  116. Button=SOFTABORT
  117. Retries=2
  118. Delay=3
  119.  
  120. ; Play the message
  121. [Playback]
  122. Action=Play
  123. Prompt=$message
  124. Menu15=UserMenu
  125. Default=UserMenu
  126. Button=SOFTABORT
  127. Delay=0
  128.  
  129. ; Save message & exit
  130. [Return]
  131. Action=SetUser
  132. Menu00=
  133. Prompt=Reseting user privilege
  134. Default=MainMenu
  135.  
  136. [MainMenu]
  137. Action=ReturnMenu
  138. Menu00=
  139. Prompt=Save
  140. Default=
  141.  
  142. ; Request user to enter password (limited to 2 digits)
  143. [Password]
  144. ;Action=setsuperuser
  145. ;Prompt=
  146. ;Default=EndOpt
  147. Prompt=V\PASSWRDQ.
  148. Action=capturedigits
  149. value=2
  150. Menu00=MatchSpecial
  151. Menu15=GoodBye
  152. Default=Password
  153. Retries=3
  154. Button=SOFTABORT
  155. Delay=6
  156.        
  157. ; Data discrimination
  158. [MatchSpecial]
  159. Action=matchdigits
  160. Prompt=9*
  161. Menu00=datadisc
  162. ;Value used in this menu to set limit on
  163. ;number of times MatchDig can be called
  164. Error=return
  165. Default=ChkFaxMode
  166. Delay=0
  167. ;
  168.  
  169. ; Go to Fax mode
  170. [ChkFaxMode]
  171. Action=matchdigits
  172. Prompt=8*
  173. Menu00=Faxmode
  174. ;Value used in this menu to set limit on
  175. ;number of times MatchDig can be called
  176. Error=return
  177. Default=MatchDigs
  178. Delay=0
  179. ;
  180.  
  181. [FaxMode]
  182. Action=Faxmode
  183. Prompt=
  184. Default=
  185. Delay=0
  186.  
  187. [DataDisc]
  188. Action=datarecv
  189. Prompt=
  190. Menu00=
  191. Error=
  192. Default=
  193. ;
  194.  
  195. [MatchDigs]
  196. Action=matchdigits
  197. Prompt=$password
  198. Menu00=setsuper
  199. ;Value used in this menu to set limit on
  200. ;number of times MatchDig can be called
  201. Value=3
  202. Error=GoodBye
  203. Default=Password
  204. Delay=0
  205.  
  206. ;
  207. [setsuper]
  208. Action=setsuperuser
  209. Prompt=
  210. Default=EndOpt
  211.  
  212. ; Check for new messages
  213. [StartupCheck]
  214. Action=SetList
  215. Prompt=$newlist
  216. EmptyList=NoNew
  217. Default=NewInfo
  218. Retries=0
  219. Delay=0
  220.  
  221. ; Notify user no new messages
  222. [NoNew]
  223. Action=Play
  224. Prompt=V\NONEWMSG.
  225. Menu14=EndOpt
  226. Menu15=GoodBye
  227. Default=CheckOldList
  228. Retries=1
  229. Delay=1
  230. Button=SOFTABORT
  231.  
  232. ; Check for old messages
  233. [CheckOldList]
  234. Action=SetList
  235. Prompt=$OldList
  236. EmptyList=NoOld
  237. Default=OldInfo
  238. Retries=0
  239. Delay=0
  240. Button=SOFTABORT
  241.  
  242. ; Notify user no old messages
  243. [NoOld]
  244. Action=Play
  245. Prompt=V\NOOLDMSG.
  246. Menu14=EndOpt
  247. Menu15=GoodBye
  248. Default=EndOpt
  249. Retries=2
  250. Delay=1
  251. Button=SOFTABORT
  252.  
  253. ; Notify user count of new voice and fax messages
  254. [NewInfo]
  255. Action=Play
  256. Prompt=V\YOUHAVE.+$voiceMWI+V\JUSTNEW.+$ifone+V\VXMSG.|V\VXMSGS.+V\YOUHAVE.+$faxMWI+V\JUSTNEW.+$ifone+V\FAXMSG.|V\FAXMSGS.
  257. Menu06=GetFirst
  258. Menu14=EndOpt
  259. Menu15=GoodBye
  260. Default=GetFirst
  261. Retries=1
  262. Delay=2
  263. Button=SOFTABORT
  264.  
  265. ; Notify user count of old voice and fax messages
  266. [OldInfo]
  267. Action=Play
  268. Prompt=V\YOUHAVE.+$allMWI+V\OLD.+$ifone+V\MESSAGE.|V\MESSAGES.
  269. Menu06=GetFirst
  270. Menu14=EndOpt
  271. Menu15=GoodBye
  272. Default=GetFirst
  273. Retries=1
  274. Delay=1
  275. Button=SOFTABORT
  276.  
  277. ; Get first message
  278. [GetFirst]
  279. Action=GetMsg
  280. Prompt=$firstmsg
  281. Default=MsgInfo
  282. Retries=0
  283. Delay=0
  284. Button=SOFTABORT
  285.  
  286. ; Notify user about information for the message
  287. [MsgInfo]
  288. Action=Play
  289. Prompt=$current+V\RECEIVED.+$msgdate+V\AT.+$msgtime
  290. Menu05=GetPrev
  291. Menu06=GetNext
  292. Menu14=EndOpt
  293. Menu15=GoodBye
  294. Default=PlayMsg
  295. Retries=3
  296. Delay=2
  297. Button=SOFTABORT
  298.  
  299. ; Play current message
  300. [PlayMsg]
  301. Action=Play
  302. Prompt=$altmessage
  303. Menu05=GetPrev
  304. Menu06=GetNext
  305. Menu14=EndOpt
  306. Menu15=EndPlay
  307. Default=EndPlay
  308. Retries=3
  309. Delay=1
  310. Button=SOFTABORT
  311.  
  312. ; Prompt user to replay message,mark old,remove,get next message,or end
  313. [EndPlay]
  314. Action=Play
  315. Prompt=V\USERM1A.+$ifnew+V\USERM2A.+V\USERM3A+$iffax+V\USERM4.+V\USERM5A.+V\USERM6A.
  316. Menu01=Replay
  317. Menu02=MarkOld
  318. Menu03=RemMsg
  319. Menu04=FaxBack
  320. Menu05=GetPrev
  321. Menu06=GetNext
  322. Menu14=EndOpt
  323. Menu15=GoodBye
  324. Default=EndPlay
  325. Delay=2
  326. Button=SOFTABORT
  327. Retries=2
  328.  
  329. ; Get next message
  330. [GetNext]
  331. Action=GetMsg
  332. Prompt=$nextmsg
  333. Default=MsgInfo
  334. EndOfList=EndNew,EndOld
  335. Button=SOFTABORT
  336.  
  337. ; tell the user that this is the end of the new msg list
  338. [EndNew]
  339. Action=play
  340. Prompt=V\ENDNEW.
  341. Menu06=CheckOldList
  342. Menu14=EndOpt
  343. Menu15=GoodBye
  344. Default=CheckOldList
  345. Delay=1
  346. Retries=1 
  347. Button=SOFTABORT
  348.  
  349. ; Get previous message
  350. [GetPrev]
  351. Action=GetMsg
  352. Prompt=$prevmsg
  353. Default=MsgInfo
  354. Button=SOFTABORT
  355.  
  356. ; Fax back the fax message
  357. [FaxBack]
  358. Action=Faxback
  359. Prompt=$altmessage
  360. Default=FaxDone
  361. Error=EndPlay
  362. Delay=0
  363. Button=SOFTABORT
  364.  
  365. ; Notify user that fax message is queued for sending
  366. [FaxDone]
  367. Action=Play
  368. Prompt=V\FAXSEND.
  369. Menu06=FaxRead
  370. Menu14=Return
  371. Menu15=GoodBye
  372. Default=FaxRead
  373. Delay=1
  374. Button=SOFTABORT
  375.  
  376. ; Mark fax message as read
  377. [FaxRead]
  378. Action=UpdateMsg
  379. Prompt=$markread
  380. Default=GetNext
  381. Button=SOFTABORT
  382.  
  383. ; Mark message as old
  384. [MarkOld]
  385. Action=UpdateMsg
  386. Prompt=$markread
  387. Default=PlayOld
  388. Button=SOFTABORT
  389.  
  390. ; Notify user message marked as old
  391. [PlayOld]
  392. Action=Play
  393. Prompt=V\MARKOLD.
  394. Menu05=GetPrev
  395. Menu06=GetNext
  396. Menu14=EndOpt
  397. Menu15=GoodBye
  398. Default=GetNext
  399. Retries=1
  400. Delay=1
  401. Button=SOFTABORT
  402.  
  403. ; Remove message
  404. [RemMsg]
  405. Action=UpdateMsg
  406. Prompt=$remove
  407. Default=PlayRem
  408. Button=SOFTABORT
  409.  
  410. ; Notify user that message removed
  411. [PlayRem]
  412. Action=Play
  413. Prompt=V\REMOVED.
  414. Menu06=GetNext
  415. Menu14=EndOpt
  416. Menu15=GoodBye
  417. Default=GetNext
  418. Retries=1
  419. Delay=1
  420. Button=SOFTABORT
  421.  
  422. ; Replay the message
  423. [Replay]
  424. Action=Play
  425. Prompt=$altmessage
  426. Menu06=EndPlay
  427. Menu14=EndOpt
  428. Menu15=GoodBye
  429. Default=EndPlay
  430. Retries=3
  431. Delay=1
  432. Button=SOFTABORT
  433.  
  434. ; Tell the users that this is the end of the old message list
  435. [EndOld]
  436. Action=play
  437. Prompt=V\ENDSAVED.
  438. Menu14=EndOpt
  439. Menu15=GoodBye
  440. Default=EndOpt
  441. Delay=2
  442. Retries=1
  443. Button=SOFTABORT
  444.  
  445. ; Prompt user to restart, change password, re-record spoken name, or exit
  446. [EndOpt]
  447. Action=Play
  448. Prompt=V\RESTART.+V\USERM7.+V\USERM8+V\EXIT.
  449. Menu01=StartUpCheck
  450. Menu06=StartUpCheck
  451. Menu07=NewPass
  452. Menu08=Greeting
  453. ;;;;;; Keep the superuser mode when returning...
  454. ;;;;;;Menu14=ResetSuper
  455. Menu14=Return
  456. Menu15=GoodBye
  457. Default=EndOpt
  458. Retries=2
  459. Delay=2
  460. Button=SOFTABORT
  461.  
  462.  
  463. [ResetSuper]
  464. Action=SetUser
  465. Prompt=
  466. Menu00=
  467. Default=Return
  468.  
  469. ; password change 1/6. Ask for the new password (limited to 2 digits)
  470. [NewPass]
  471. Prompt=V\NEW.+V\PASSWORD.
  472. Action=password
  473. value=2
  474. Menu00=AgainDigs
  475. Default=NewPass
  476. Delay=5
  477. Button=SOFTABORT
  478.  
  479. ; password change 2/6. Ask for it again (limited to 2 digits)
  480. [AgainDigs]
  481. Prompt=V\NEW.+V\PASSWORD.+V\AGAIN.
  482. Action=capturedigits
  483. value=2
  484. Menu00=CheckPass
  485. Default=AgainDigs
  486. Delay=8
  487. Button=SOFTABORT
  488.  
  489. ; password change 3/6. compare the 2
  490. [CheckPass]
  491. Action=matchdigits
  492. Prompt=$password
  493. Menu00=WritePass
  494. Default=BadPass
  495. Delay=0
  496. Button=SOFTABORT
  497.  
  498. ; password change 4/6. Notify User that password change failed
  499. [BadPass]
  500. Action=Play
  501. Prompt=V\BADPASS.
  502. Delay=3
  503. Menu15=GoodBye
  504. Default=EndOpt
  505. Button=SOFTABORT
  506.  
  507. ; password change 5/6. Update the ini file with new password
  508. [WritePass]
  509. Action=WriteIniFile
  510. Prompt=$mailbox
  511. Default=WriteDone
  512. Delay=0
  513. Button=SOFTABORT
  514.  
  515. ; password change 6/6. Play 'DONE'
  516. [WriteDone]
  517. Action=Play
  518. Prompt=V\DONE.
  519. Menu14=EndOpt
  520. Menu15=GoodBye
  521. Default=EndOpt
  522. Delay=3
  523. Button=SOFTABORT
  524.  
  525. [SOFTABORT]
  526. Prompt=
  527. Action=exit
  528. Default=
  529. Delay=0
  530.  
  531.  
  532. [GOODBYE]
  533. Prompt=
  534. Action=faxsend
  535. Default=WAVE_BYE
  536. Delay=0
  537. Menu00=FODFAXBACK
  538.  
  539. [FODFAXBACK]
  540. Prompt=FAXBACK.VMU
  541. Action=callmenu
  542. Default=WAVE_BYE
  543. Delay=0
  544.  
  545. [WAVE_BYE]
  546. Prompt=V\GOODBYE.
  547. Action=play
  548. Default=GOODBYE_BODY
  549. Delay=0
  550.  
  551. [GOODBYE_BODY]
  552. Prompt=
  553. Action=hangup
  554. Default=
  555. Delay=0
  556.  
  557.  
  558.  
  559.